// import {ComponentWithStore} from 'mobx-miniprogram-bindings'
// import {userStore} from '../../../../stores/userstore'
// export const ... = ComponentWithStore ({
//   storeBindings: {
//     store: userStore,
//     fields: ['token', 'userInfo'],
//     actions: ['setToken', 'setUserInfo']
//   }
// })
import { BehaviorWithStore } from 'mobx-miniprogram-bindings'
import { userStore } from '../../../../stores/userstore'
export const userBehavior = BehaviorWithStore({
  storeBindings: {
    store: userStore,
    fields: ['userInfo'],
    actions: ['setUserInfo']
  }
})
